package com.just.bz_back.model;

import java.io.Serializable;
import java.util.Date;

public class Type implements Serializable {
    private Integer id;

    private String name;

    private Integer autoCompleteHours;

    private Integer autoCompleteStars;

    private Boolean allowUserCreate;

    private Boolean needUserInfo;

    private Date createdAt;

    private Date updatedAt;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getAutoCompleteHours() {
        return autoCompleteHours;
    }

    public void setAutoCompleteHours(Integer autoCompleteHours) {
        this.autoCompleteHours = autoCompleteHours;
    }

    public Integer getAutoCompleteStars() {
        return autoCompleteStars;
    }

    public void setAutoCompleteStars(Integer autoCompleteStars) {
        this.autoCompleteStars = autoCompleteStars;
    }

    public Boolean getAllowUserCreate() {
        return allowUserCreate;
    }

    public void setAllowUserCreate(Boolean allowUserCreate) {
        this.allowUserCreate = allowUserCreate;
    }

    public Boolean getNeedUserInfo() {
        return needUserInfo;
    }

    public void setNeedUserInfo(Boolean needUserInfo) {
        this.needUserInfo = needUserInfo;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }
}